<template>
  <el-dialog :title="dialogText[dialogStatusParkMag]" :visible.sync="dialogCreateVisibleDialog" center width="720px">
    <el-form ref="detailFormMag"  :inline="true" :model="tempParkMagDialog"
             :label-position="'left'"
             label-width="90px" style="text-align: left">
      <el-form-item label="投诉对象" prop="complaints_obj">
        <el-input   readonly v-model="tempParkMagDialog.complaints_obj" />
      </el-form-item>
      <el-form-item label="投诉类型" prop="complaints_type" style="margin-left: 50px">
        <el-input   readonly  v-model="tempParkMagDialog.complaints_type"></el-input>
      </el-form-item>
      <el-form-item label="投诉人" prop="complaints_people">
        <el-input   readonly v-model="tempParkMagDialog.complaints_people"></el-input>
      </el-form-item>
      <el-form-item label="联系方式" prop="complaints_phone"  style="margin-left: 50px">
        <el-input  readonly v-model="tempParkMagDialog.complaints_phone" />
      </el-form-item>
      <el-form-item label="投诉渠道" prop="complaints_channel">
        <el-input   readonly v-model="tempParkMagDialog.complaints_channel"></el-input>
      </el-form-item>
      <el-form-item label="投诉时间" prop="complaints_time"  style="margin-left: 50px">
        <el-input   readonly v-model="tempParkMagDialog.complaints_time"></el-input>
      </el-form-item>
    </el-form>
    <el-form>
      <el-form-item label="详细描述" prop="complaints_text">
        <el-input  readonly  type="textarea" />
      </el-form-item>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button @click="dialogCreateVisibleDialog = false" class="btn-search">关闭</el-button>
    </div>
  </el-dialog>
</template>

<script>
  /* eslint-disable */
  export default {
    created() {
      // this.initData()
    },
    components: {

    },
    name: "suggestion-detail-dialog",
    props: ['dialogStatusParkMag', 'dialogVisible', 'tempParkMag'],
    watch: {
      dialogCreateVisibleDialog() {
        this.$emit('update:dialogVisible', this.dialogCreateVisibleDialog)
      },
      dialogVisible(val) {
        this.dialogCreateVisibleDialog = val
      },
      tempParkMag(val) {
        this.tempParkMagDialog = val
      }
    },

    data() {
      return {
        dialogText: {detail: '详情'},
        dialogCreateVisibleDialog: false,
        // dialogDwVisibleParkMg: false,
        // dialogRoadVisiblParkMag: false,
        tempParkMagDialog: {
          complaints_obj: '',
          complaints_type: '',
          complaints_count: '',
          start_time:'',
          end_time:'',
          handle_status: '',
          handle_result:'',
          handle_people:'',
          finish_time:'',
          complaints_people:'',
          complaints_phone:'',
          complaints_channel:'',
          complaints_time:'',
          complaints_text:''
        },

      }
    },
    methods: {


      // initData() {
      //   selDictonary().then(res => {
      //     for (var item in res) {
      //       if (res[item].id == "ori") {//
      //         this.dlncs = res[item].comboboxDetailList
      //       } else if (res[item].id == "enableflag") {
      //         this.statuss = res[item].comboboxDetailList
      //       } else if (res[item].id == "roadtype") {
      //         this.dllxs = res[item].comboboxDetailList
      //       } else if (res[item].id == "sffs") {
      //         this.sffss = res[item].comboboxDetailList
      //       } else if (res[item].id == "jcfs") {
      //         this.jcfss = res[item].comboboxDetailList
      //       }
      //     }
      //   })
      //   getChargeStandard().then(res => {
      //     this.sfbzs = res
      //   })
      // }
    }
  }
</script>

<style scoped>

</style>
